﻿using System;
using System.Data.Entity;
using System.ComponentModel.DataAnnotations;

namespace JustMVCTest.Models
{
    /*
    public class Poland_Rep_Table
    {
        [Key, Column(Order = 0)]
        [DataType(DataType.EmailAddress)]
        [Required]
        [RegularExpression(@"^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][-\w]*[0-9a-zA-Z]\.)+[a-zA-Z]{2,9})$", ErrorMessage = "Enter a valid Email address")]
        public string Mail_Address { get; set; }
        [Required]
        [DataType(DataType.Date)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public DateTime Insert_Date { get; set; }
        [Required]
        [DataType(DataType.Date)]
        [DisplayFormat(ApplyFormatInEditMode = true, DataFormatString = "{0:dd/MM/yyyy}")]
        public DateTime Update_Date { get; set; }
    }

    public partial class PODBContext : DbContext
    {
        public DbSet<Poland_Rep_Table> Poland_Rep_Table { get; set; }
    }
     */
}